package com.wswy.wzcx.model.pay;

import android.support.annotation.DrawableRes;
import com.wswy.wzcx.R;
import com.wswy.wzcx.module.pay.PayManager;

public enum PayStyleModel {


  ALIPAY("alipay","支付宝",10, R.drawable.pay_alipay),

  WECHAT("wechat","微信",20,R.drawable.pay_wechat),

  ALIPAY_CHECAR("alipay_checar","支付宝",30, R.drawable.pay_alipay_cheche), //车车网支付

  WECHAT_CHECAR("wechat_checar","微信",40, R.drawable.pay_wechat_cheche);


  private String key;
  private String title;
  private int code;
  private int drawableId;

  PayStyleModel(String key, String title, int code,@DrawableRes int drawableId) {
    this.key = key;
    this.title = title;
    this.code = code;
    this.drawableId = drawableId;
  }

  public String getKey() {
    return key;
  }

  public String getTitle() {
    return title;
  }

  public int getCode() {
    return code;
  }

  public @DrawableRes
  int getDrawableId() {
    return drawableId;
  }

}
